package com.ihealthway.all;
import com.ihealthway.all.groupbuy.filters.SessionFilter;
import com.ihealthway.all.view.ProxyViewMaker;
import org.beetl.ext.nutz.BeetlViewMaker;
import org.nutz.mvc.annotation.*;
import org.nutz.mvc.ioc.provider.ComboIocProvider;


/**
 * Application configure main class.
 *
 * @author 凡梦星尘(elkan1788@gmail.com)
 */
@Modules(packages = "com.ihealthway.all")
@IocBy( type = ComboIocProvider.class,
        args = {
                "*js",
                "ioc/",
                "*anno",
                "com.ihealthway.all",
                "*org.nutz.integration.quartz.QuartzIocLoader",
                "*async"})
@Encoding(input = "UTF-8", output = "UTF-8")
@Ok("ioc:json")
@Fail("jsp:views.error")
@Views({ BeetlViewMaker.class, ProxyViewMaker.class})
@Filters(@By(type = SessionFilter.class))
@SetupBy(StartSetup.class)
public class MainModule {

}
